// 仓储作业路由文件
import Layout from '@/layout';
export default {
	path: '/storage',
	component: Layout,
	redirect: '/storage/aisleManager',
	name: 'storage',
	meta: { title: '仓储作业', icon: 'tongdao', routerType: 'WMS' },
	children: [
		{
			path: 'warehouseManager',
			name: 'warehouseManager',
			component: () => import('@/views/storageOperate/warehouseManager'),
			meta: { title: '仓库管理', icon: '', anniu: 'warehouseManager_list' }
		},
		{
			path: 'warehouseAdd',
			name: 'warehouseAdd',
			hidden: true,
			component: () => import('@/views/storageOperate/warehouseAdd'),
			meta: { title: '添加仓库', icon: '', anniu: 'addwarehouse' }
		},
		{
			path: 'warehouseEdit',
			name: 'warehouseEdit',
			hidden: true,
			component: () => import('@/views/storageOperate/warehouseAdd'),
			meta: { title: '修改仓库', icon: '', anniu: 'editwarehouse' }
		},
		{
			path: 'goodsInventory',
			name: 'goodsInventory',
			component: () => import('@/views/storageOperate/goodsInventory'),
			meta: { title: '商品库存', icon: '', anniu: 'goodsInventory_list' }
		},
		{
			path: 'aisleManager',
			name: 'aisleManager',
			component: () => import('@/views/storageOperate/aisleManager'),
			meta: { title: '通道管理', icon: '', anniu: 'aisleManager_list' }
		},
		{
			path: 'checkedInfo',
			name: 'checkedInfo',
			// hidden: true,
			component: () => import('@/views/storageOperate/checkedInfo'),
			meta: { title: '盘点管理', icon: '', anniu: 'checkedInfo_list' }
		},
		{
			path: 'toChecked',
			name: 'toChecked',
			hidden: true,
			component: () => import('@/views/storageOperate/toChecked'),
			meta: { title: '盘点', icon: '', anniu: 'to_check', actived: true }
		},
		{
			path: 'checkedAdd',
			name: 'checkedAdd',
			hidden: true,
			component: () => import('@/views/storageOperate/checkedAdd'),
			meta: { title: '新增盘点', icon: '', anniu: 'checkedAdd' }
		},
		{
			path: 'checkDetail',
			name: 'checkDetail',
			hidden: true,
			component: () => import('@/views/storageOperate/toChecked'),
			meta: { title: '盘点详情', icon: 'ree', anniu: 'checkDetail' }
		},
    {
			path: 'positionMap',
			name: 'positionMap',
			// hidden: true,
			component: () => import('@/views/storageOperate/positionMap'),
			meta: { title: '仓位地图', icon: '', anniu: 'positionMap_list' }
		}
	]
};
